<template>
  <el-card v-loading="loading">
    <base-form ref="form" mode="add" @submit="handleSubmit" @cancel="handleCancel" />
  </el-card>
</template>

<script>
import BaseForm from './components/form'

export default {
  name: 'Add',
  components: { BaseForm },
  data() {
    return {
      loading: false
    }
  },
  mounted() {

  },
  methods: {
    handleCancel() {
      this.$router.back()
    },
    handleSubmit(){

    }
  }
}
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
  .el-input {
    width: 300px;
  }
</style>
